<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="{print content('info')/}">
<meta name="keywords" content="{print content('keywords')/}">
<title>{print content('title')/}_{print cateinfo('cate_name')/}_{print webinfo('web_name')/}</title>
<link href="{path template/}/images/style.css" rel="stylesheet" type="text/css">
<link href="{path template/}/images/MagicZoom.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{path template/}/images/mz-packed.js"></script>
<script type="text/javascript" src="{path template/}/images/jquery.js"></script>
<script type="text/javascript" src="{path template/}/images/nav.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$('.q_body ul li').click(function(){
		$index=$('.q_body ul li').index(this);
		$(this).addClass('focus').siblings().removeClass('focus');
		$('.show_q_body').find('#body').eq($index).show().siblings().hide();
	});
});
</script>
</head>
<body>
{include head/}
<div class="div_margin"></div>
<div class="contain">
	<div class="contain_left">
	{assign source=get_tpl_list_nav('3') name=tree/}
	{if $tree}
		<div class="box left_width">
			<div class="left_title"><h2>{print weblangs('products_nav')/}</h2></div>
			<div class="box_in">
				<div id="category_tree">
				{loop source=$tree item=$nav}
					 <dl>
     <dt><span class="c_icon"></span><a class="{print $nav['class']/}" href="{print $nav['url']/}" {print $nav['target']/} title="{print $nav['cate_name']/}">{print $nav['cate_name']/}</a></dt>
	 
     <dd style="display: none;" id="nav_16">
	 <ul>
	 {loop source=$nav['child']}
	  	 <li><a href="{print $v['url']/}">{print $v['cate_name']/}</a></li>
     {/loop}
     </ul>
	 </dd>
   </dl>
				{/loop}
				</div>
			</div>
		</div><!--容器结束-->
		<div class="div_margin"></div>
		{/if}
		{assign source=get_else_content($cate_id='',$limit='0,5',$order_type='hits',$filter='',$pic='no',$order='desc',$lang='') name=hot_arc/}
		{if $hot_arc}
			<div class="box">
			<div class="left_title"><h2>{print weblangs('hot_content')/}</h2></div>
			<div class="box_in">
				<div class="news_list">
					 <ul>
					 {loop source=$hot_arc}
       					 <li><a title="{print $v['title']/}" href="{print $v['url']/}" {print $v['target']/} {if $v['style']}style="{print $v['style']/}"{/if}>{print cn_substr($v['title'],40)/}</a>{print date('m-d',$v['updatetime'])/}</li>
				{/loop}
	   				</ul>  
				</div>  
			</div>
		</div><!--容器结束-->
		{/if}
			<div class="box">
			<div class="left_title"><h2>{print weblangs('contact')/}</h2></div>
			<div class="box_in">
				<div class="contact">
				{print get_block_content('contact_us')/}
				</div>
			</div>
		</div><!--容器结束-->
	
	</div><!--左边内容-->
	<div class="contain_right">
		
		<div class="box">
			<div class="box_title"><h2 class="position"><span>{print weblangs('location')/}:{position source=$position/} > {print content('style_title')/}</span></h2></div>
			<div class="box_in">
				<p class="title" style="{print content('style')/}">{print content('title')/}</p>
  <p class="info"><span>{print weblangs('content_hits')/}:<script language="javascript" src="{path includes/}/hits.php?id={print content('id')/}"></script></span><span>{print weblangs('content_pubdate')/}:{print date('Y-m-d H:m:s',content('updatetime'))/}</span><span><a href="javascript:window.print()">【{print weblangs('print')/}】</a></span><span><a href="javascript:self.close()">【{print weblangs('close')/}】</a></span></p>
 
  <div class="show_product">
  <div class="show_left">
   <div class="img">
    {loop source=album('pics')}
	{if $v['first']}
   <a href="{print $v['pic']/}" class="MagicZoom MagicThumb" id="zoom">
    <img src="{print $v['pic']/}"  width="400" height="300" title="pic"/>
   </a>
   {/if}
   {/loop}
   </div>
   <div class="img_go">
    <span onmouseover="moveLeft()" onmousedown="clickLeft()" onmouseup="moveLeft()" onmouseout="scrollStop()"></span>
      <div class="gallery">
        <div id="demo">
          <div id="demo1" style="float:left">
            <ul>
            {loop source=album('pics')}<li><a rel="zoom" title="{print $v['alt']/}" href="{print $v['pic']/}" rev="{print $v['pic']/}"><img src="{print $v['thumb']/}" alt="{print $v['alt']/}" class="B_blue" /></a></li>{/loop}
            </ul>
          </div>
          <div id="demo2" style="display:inline; overflow:visible;"></div>
        </div>
      </div>
      <span onmouseover="moveRight()" onmousedown="clickRight()" onmouseup="moveRight()" onmouseout="scrollStop()" class="spanR"></span>
	  <div class="clear"></div>
      <script>
      function $gg(id){  
        return (document.getElementById) ? document.getElementById(id): document.all[id]
      }
      
      var boxwidth=53;//跟图片的实际尺寸相符
      
      var box=$gg("demo");
      var obox=$gg("demo1");
      var dulbox=$gg("demo2");
      obox.style.width=obox.getElementsByTagName("li").length*boxwidth+'px';
      dulbox.style.width=obox.getElementsByTagName("li").length*boxwidth+'px';
      box.style.width=obox.getElementsByTagName("li").length*boxwidth*3+'px';
      var canroll = false;
      if (obox.getElementsByTagName("li").length >= 4) {
        canroll = true;
        dulbox.innerHTML=obox.innerHTML;
      }
      var step=5;temp=1;speed=50;
      var awidth=obox.offsetWidth;
      var mData=0;
      var isStop = 1;
      var dir = 1;
      
      function s(){
        if (!canroll) return;
        if (dir) {
      if((awidth+mData)>=0)
      {
      mData=mData-step;
      }
      else
      {
      mData=-step;
      }
      } else {
        if(mData>=0)
        {
        mData=-awidth;
        }
        else
        {
        mData+=step;
        }
      }
      
      obox.style.marginLeft=mData+"px";
      
      if (isStop) return;
      
      setTimeout(s,speed)
      }
      
      
      function moveLeft() {
          var wasStop = isStop;
          dir = 1;
          speed = 50;
          isStop=0;
          if (wasStop) {
            setTimeout(s,speed);
          }
      }
      
      function moveRight() {
          var wasStop = isStop;
          dir = 0;
          speed = 50;
          isStop=0;
          if (wasStop) {
            setTimeout(s,speed);
          }
      }
      
      function scrollStop() {
        isStop=1;
      }
      
      function clickLeft() {
          var wasStop = isStop;
          dir = 1;
          speed = 25;
          isStop=0;
          if (wasStop) {
            setTimeout(s,speed);
          }
      }
      
      function clickRight() {
          var wasStop = isStop;
          dir = 0;
          speed = 25;
          isStop=0;
          if (wasStop) {
            setTimeout(s,speed);
          }
      }
      </script> 
   </div><!--滚动-->
  </div><!--相册500px-->
  <div class="show_right">
   <ul>
    <li><span>{print weblangs('tpl_model')/}:</span>{print content('model')/}</li>
	<li><span>{print weblangs('tpl_marketprice')/}:</span>{print content('marketprice')/}</li>
	<li><a href="{path book/}/book.php?lang=cn&pr_id={print content('id')/}" class="ask"></a><a href="{path order/}/order.php?id=12&pr_id={print content('id')/}" class="order"></a></li>
   </ul>
  </div><!--详细-->
  <div class="clear"></div>
  </div><!--产品展示-->
  
  <div class="arc_body">
  
   <div class="q_body">
		<ul>
		 <li class="focus"><span>{print weblangs('tpl_content')/}</span></li>
		 <li><span>{print weblangs('tpl_pfsm')/}</span></li>
		 <li><span>{print weblangs('tpl_yfsm')/}</span></li>
		 <li><span>{print weblangs('tpl_jyfs')/}</span></li>
		 <li><span>{print weblangs('contact')/}</span></li>
		</ul>
	</div>
  <div class="show_q_body">	
	<div id="body">
 <table width='100%'>
	<tr><td>{print content('content')/}</td></tr>
  </table>
   <div class="page_fy" style="float:none;margin-left:300px;">
   {print body_pages()/}
  </div>
  </div>
  <div id="body" style="display:none">
  	{print content('wholesale')/}
  </div>
  <div id="body" style="display:none">
  	{print content('shipping')/}
  </div>
  <div id="body" style="display:none">
  	{print content('trading')/}
  </div>
  <div id="body" style="display:none">
  	{print content('contact')/}<br />
                
				
  </div>
  </div>
  
  </div>
  
 <div class="arc_link" style="clear:both"><span>{print content('prev')/}</span><span>{print content('next')/}</span></div>
 </div><!--右边-->
 <div class="clear"></div>
				
			</div>
		</div><!--容器结束-->
		<div class="clear"></div>
	</div>
	
</div>

{include foot/}
</body>
</html>